import { http } from '@/utils/http/axios';

export function listInterfaceBtn(data = {}) {
  return http.request({
    url: '/admin/gather/interfaceBtn/list',
    method: 'get',
    data,
  });
}

export function pageInterfaceBtn(data = {}) {
  return http.request({
    url: '/admin/gather/interfaceBtn/page',
    method: 'post',
    data,
  });
}

export function addInterfaceBtn(data = {}) {
  return http.request({
    url: '/admin/gather/interfaceBtn/add',
    method: 'post',
    data,
  });
}

export function updateInterfaceBtn(data = {}) {
  return http.request({
    url: '/admin/gather/interfaceBtn/update',
    method: 'post',
    data,
  });
}

export function delInterfaceBtn(data = {}) {
  return http.request({
    url: '/admin/gather/interfaceBtn/delete',
    method: 'post',
    data,
  });
}
